package com.itheima.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author by itheima
 * @Date 2022/4/22
 * @Description 分模块配置，方便开发维护
 */
//@Configuration
public class SpringConfig2 {

    @Bean("myObj")
    public Object object(){
        return new Object();
    }
}
